.TH std::queue::front 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::queue::front \- std::queue::front

.SH Synopsis
   reference front();
   const_reference front() const;

   Returns reference to the first element in the queue. This element will be the first
   element to be removed on a call to pop(). Effectively calls c.front().

.SH Parameters

   \fI(none)\fP

.SH Return value

   Reference to the first element.

.SH Complexity

   Constant.

.SH See also

   back access the last element
        \fI(public member function)\fP
   pop  removes the first element
        \fI(public member function)\fP
